home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / FL_soap1_2_xsd_91893________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Text File  |  2006-10-26  |  6KB  |  156 lines

  1. ∩╗┐<!-- Schema defined in the SOAP Version 1.2 Part 1 specification
  2.      Proposed Recommendation:
  3.      http://www.w3.org/TR/2003/PR-soap12-part1-20030507/
  4.      $Id: soap-envelope.xsd,v 1.1 2003/04/17 14:23:23 ylafon Exp $
  5.  
  6.      Copyright (C)2003 W3C(R) (MIT, ERCIM, Keio), All Rights Reserved.
  7.      W3C viability, trademark, document use and software licensing rules
  8.      apply.
  9.      http://www.w3.org/Consortium/Legal/
  10.  
  11.      This document is governed by the W3C Software License [1] as
  12.      described in the FAQ [2].
  13.  
  14.      [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
  15.      [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
  16. -->
  17.  
  18. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  19.            xmlns:tns="http://www.w3.org/2003/05/soap-envelope"
  20.            targetNamespace="http://www.w3.org/2003/05/soap-envelope" 
  21.            elementFormDefault="qualified" >
  22.  
  23.   <xs:import namespace="http://www.w3.org/XML/1998/namespace" />
  24.  
  25.   <!-- Envelope, header and body -->
  26.   <xs:element name="Envelope" type="tns:Envelope" />
  27.   <xs:complexType name="Envelope" >
  28.     <xs:sequence>
  29.       <xs:element ref="tns:Header" minOccurs="0" />
  30.       <xs:element ref="tns:Body" minOccurs="1" />
  31.     </xs:sequence>
  32.     <xs:anyAttribute namespace="##other" processContents="lax" />
  33.   </xs:complexType>
  34.  
  35.   <xs:element name="Header" type="tns:Header" />
  36.   <xs:complexType name="Header" >    
  37.     <xs:sequence>
  38.       <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"  />
  39.     </xs:sequence>
  40.     <xs:anyAttribute namespace="##other" processContents="lax" />
  41.   </xs:complexType>
  42.   
  43.   <xs:element name="Body" type="tns:Body" />
  44.   <xs:complexType name="Body" >
  45.     <xs:sequence>
  46.       <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  47.     </xs:sequence>
  48.     <xs:anyAttribute namespace="##other" processContents="lax" />
  49.   </xs:complexType>
  50.  
  51.   <!-- Global Attributes.  The following attributes are intended to be
  52.   usable via qualified attribute names on any complex type referencing
  53.   them.  -->
  54.   <xs:attribute name="mustUnderstand" type="xs:boolean" default="0" />
  55.   <xs:attribute name="relay" type="xs:boolean" default="0" />
  56.   <xs:attribute name="role" type="xs:anyURI" />
  57.  
  58.   <!-- 'encodingStyle' indicates any canonicalization conventions
  59.   followed in the contents of the containing element.  For example, the
  60.   value 'http://www.w3.org/2003/05/soap-encoding' indicates the pattern
  61.   described in the last call working draft of SOAP Version 1.2 Part 2:
  62.   Adjuncts -->
  63.  
  64.   <xs:attribute name="encodingStyle" type="xs:anyURI" />
  65.  
  66.   <xs:element name="Fault" type="tns:Fault" />
  67.   <xs:complexType name="Fault" final="extension" >    
  68.     <xs:sequence>
  69.       <xs:element name="Code" type="tns:faultcode" />
  70.       <xs:element name="Reason" type="tns:faultreason" />
  71.       <xs:element name="Node" type="xs:anyURI" minOccurs="0" />
  72.       <xs:element name="Role" type="xs:anyURI" minOccurs="0" />
  73.       <xs:element name="Detail" type="tns:detail" minOccurs="0" />
  74.     </xs:sequence>
  75.   </xs:complexType>
  76.  
  77.   <xs:complexType name="faultreason" >
  78.     <xs:sequence>
  79.       <xs:element name="Text" type="tns:reasontext" 
  80.                   minOccurs="1"  maxOccurs="unbounded" />
  81.     </xs:sequence>
  82.   </xs:complexType>
  83.  
  84.   <xs:complexType name="reasontext" >
  85.     <xs:simpleContent>
  86.       <xs:extension base="xs:string" >
  87.         <xs:attribute ref="xml:lang" use="required" />
  88.       </xs:extension>
  89.     </xs:simpleContent>
  90.   </xs:complexType>
  91.   
  92.   <xs:complexType name="faultcode">
  93.     <xs:sequence>
  94.       <xs:element name="Value"
  95.                   type="tns:faultcodeEnum"/>
  96.       <xs:element name="Subcode"
  97.                   type="tns:subcode"
  98.                   minOccurs="0"/>
  99.     </xs:sequence>
  100.   </xs:complexType>
  101.  
  102.   <xs:simpleType name="faultcodeEnum">
  103.     <xs:restriction base="xs:QName">
  104.       <xs:enumeration value="tns:DataEncodingUnknown"/>
  105.       <xs:enumeration value="tns:MustUnderstand"/>
  106.       <xs:enumeration value="tns:Receiver"/>
  107.       <xs:enumeration value="tns:Sender"/>
  108.       <xs:enumeration value="tns:VersionMismatch"/>
  109.     </xs:restriction>
  110.   </xs:simpleType>
  111.  
  112.   <xs:complexType name="subcode">
  113.     <xs:sequence>
  114.       <xs:element name="Value"
  115.                   type="xs:QName"/>
  116.       <xs:element name="Subcode"
  117.                   type="tns:subcode"
  118.                   minOccurs="0"/>
  119.     </xs:sequence>
  120.   </xs:complexType>
  121.  
  122.   <xs:complexType name="detail">
  123.     <xs:sequence>
  124.       <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"  />
  125.     </xs:sequence>
  126.     <xs:anyAttribute namespace="##other" processContents="lax" /> 
  127.   </xs:complexType>
  128.  
  129.   <!-- Global element declaration and complex type definition for header entry returned due to a mustUnderstand fault -->
  130.   <xs:element name="NotUnderstood" type="tns:NotUnderstoodType" />
  131.   <xs:complexType name="NotUnderstoodType" >
  132.     <xs:attribute name="qname" type="xs:QName" use="required" />
  133.   </xs:complexType>
  134.  
  135.  
  136.   <!-- Global element and associated types for managing version transition as described in Appendix A of the SOAP Version 1.2 Part 1 Last Call Working Draft -->  <xs:complexType name="SupportedEnvType" >
  137.     <xs:attribute name="qname" type="xs:QName" use="required" />
  138.   </xs:complexType>
  139.  
  140.   <xs:element name="Upgrade" type="tns:UpgradeType" />
  141.   <xs:complexType name="UpgradeType" >
  142.     <xs:sequence>
  143.       <xs:element name="SupportedEnvelope" type="tns:SupportedEnvType" minOccurs="1" maxOccurs="unbounded" />
  144.     </xs:sequence>
  145.   </xs:complexType>
  146.  
  147.  
  148. </xs:schema>
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.